<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <link href="<s:url value="../css/pay/index.css"/>" rel="stylesheet" type="text/css"/>
    <link href="<s:url value="../css/pay/submitOrder.css"/>" rel="stylesheet" type="text/css"/>
    <link href="<s:url value="../css/pay/paymentComplete.css"/>" rel="stylesheet" type="text/css"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript"
            src="<s:url value="../js/jquery/jquery-1.8.0.min.js"/> "></script>
    <script type="text/javascript" rc="<s:url value="../js/hint/jquery.hint.js"/> "></script>
    <script type="text/javascript" rc="<s:url value="../js/jquery/jquery.json-2.2.js"/> "></script>
    <script type="text/javascript" rc="<s:url value="../js/jw/jw.js"/> "></script>
    <script type="text/javascript" rc="<s:url value="../js/pay/mousewheel.js"/> "></script>
    <script type="text/javascript" rc="<s:url value="../js/pay/easyscroll.js"/> "></script>
    <script type="text/javascript" rc="<s:url value="../js/pay/scrollInit.js"/> "></script>
    <script type="text/javascript">
        function gotoMain() {
            <%--window.location.href = "<s:url value="/business/paidMain"/>";--%>
            window.parent.openUnpaidMainAndCurrentActiveTab();

            return;
        }
    </script>
    <title>报关报检业务(支付完成）</title>
</head>
<body>
<div class="container">
    <div class="tab">
        <div class="completeStep">提交订单</div>
        <div class="completeStep">在线支付</div>
        <div class="completeStep">支付完成</div>

    </div>
    <div class="clear"></div>
    <div class="orderBox">
        <div class="spare">
            <!-- fix P01263 -->
            <div class="paied" style="padding-left: 117px;line-height: normal;padding-top: 20px;">
                <img src="<s:url value="../img/true.png"/>"/>订单支付成功!
            </div>

            <div class="orderDetails">
                <div class="thead">
                    <div>序号</div>
                    <div>订单号</div>
                    <div>价格</div>
                </div>

                <div class="tbodyDetails">

                    <div class="div_scroll">

                        <div class="div_scroll0">

                            <table>
                                <c:forEach var="declarationFree" items="${declarationFrees}"
                                           varStatus='st'>
                                    <tr>
                                        <td>${st.index+1}</td>
                                        <td>${declarationFree.declaration.businessId}</td>
                                        <td><input type="text" value="${declarationFree.free}"
                                                   disabled/></td>
                                    </tr>
                                </c:forEach>>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="totals">
                    <div class="amount">总计：&nbsp;&nbsp;<input id="sum_free" name="sum_free"
                                                              value="${payFree}"
                                                              readonly="readonly"></div>
                </div>
                <div class="sure">
                    <!--<button type="submit" class="confirm">确认</button>-->
                    <a herf="#" class="submit" onclick="gotoMain()">确认</a>
                </div>
            </div>


        </div>
    </div>
</div>
</body>
</html>
